/*
 * Inertial.h
 *
 *  Created on: 2012.12.28.
 *      Author: Tibi
 */

#ifndef INERTIAL_H_
#define INERTIAL_H_

typedef struct
{
	float accx;
	float accy;
	float accz;
	float gyrox;
	float gyroy;
	float gyroz;
	float rotx;
	float roty;
	float rotz;
}Inertial;

typedef struct
{
	float accx;
	float accy;
	float accz;
	float gyrox;
	float gyroy;
	float gyroz;
}Offsets;

void Init_Inertial(void);
void Inertial_Get(void);

extern Inertial inertia;
extern Offsets offset;

#endif /* INERTIAL_H_ */

